word = 'hallo world'
for each in word:
    if each == 'o':
        break
    print(each)

